public class Student {
    private String name;
    private double height;
    private int age;

    public Student(String name, int age, double height) {
        this.name = name;
        this.age = age;
        this.height = height;
    }

    // Getters and setters...

    @Override
    public String toString() {
        return "Student{name='" + name + "', height=" + height + ", age=" + age + "}";
    }
}